package org.codegallery.dynawebappgal.service.impl;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.codegallery.dynawebappgal.entity.Spittle;
import org.codegallery.dynawebappgal.service.HomeService;

public class HomeServiceImpl implements HomeService{

	public List<Spittle> getRecentSpittles(int count) {
		List<Spittle> list=new ArrayList<Spittle>();
		Spittle spittle=new Spittle();
		spittle.setId(111111L);
		spittle.setDescription("Hello Spittle");
		spittle.setBirthday(new Date());
		list.add(spittle);
		return list;
	}

}
